package cate.common.table.attr;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("属性枚举")
public class AttrRow extends ERow {

    @NoteField("属性id")
    public int tid;

    @NoteField("名称")
    public String name;

    @NoteField("战力")
    public double power;


    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("id", 0);
        this.tid = xrw.getInteger("id", 0);
        this.name = xrw.getString("名称");
        this.power = xrw.getDouble("战力", 0.0);

    }
}
